package com.sykj.bsc.rwl.po;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * 
 * @ClassName:  ZtreeBean   
 *@Description: 描述
 * @author 任文龙
 ** @date:   2018年8月16日 下午7:55:29
 */
@Component("ztreeBean")
public class ZtreeBean {
	private boolean checked=false;//是否展开
	private int parentID;//父id
	private int resourceID;//也是父id
	private String resourceName;//节点名称
	private String accessPath;//地址
	
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	public int getParentID() {
		return parentID;
	}
	public void setParentID(int parentID) {
		this.parentID = parentID;
	}
	public int getResourceID() {
		return resourceID;
	}
	public void setResourceID(int resourceID) {
		this.resourceID = resourceID;
	}
	public String getResourceName() {
		return resourceName;
	}
	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}
	
	public String getAccessPath() {
		return accessPath;
	}
	public void setAccessPath(String accessPath) {
		this.accessPath = accessPath;
	}
	@Override
	
	public String toString() {
		return "ZtreeBean [checked=" + checked + ", parentID=" + parentID + ", resourceID=" + resourceID
				+ ", resourceName=" + resourceName + ", accessPath=" + accessPath + "]";
	}
}
